<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		// 对象构造器   class 类
		function  Arr(){
			this.data;
			this.lenght=0;
			this.get_max = function () {
				document.write("获取数据最大值");
				document.write(this.lenght);
			}
			this.get_min = function () {
				document.write("获取数据最小值");
			}
			this.get_total = function () {
				document.write("获取数组总数");
			}
		}
		obj = new Arr();
		obj.lenght = 1000;
		obj.data = "学并思";
		obj.age = 18;
		obj.get_max();
		console.log(obj);
		obj1 = new Arr();

		// console.log(new String("sdfsdf"));
		
		// xbs = 9000;

		// function runxbs() {
		
		// }

		// console.log(window);

		// window.alert();

		// num = 900;

		// window.num = 9000;

		// document.write();






	</script>
</head>
<body>
	
</body>
</html>